package com.sctvcloud.dongqu.beans;

import android.graphics.drawable.Drawable;

import java.util.ArrayList;
import java.util.List;

/**
 * Author: create by Administrator on 2018/6/25 15 50
 * Des:
 */
public class TvItem {

    private String title;
    private int type;
    private int selectImg;
    private int normalImg;
    private List<FChannel> channel;
    private String url;

    public TvItem(String title,
                  int type,
                  int selectImg,
                  int normalImg,
                  List<FChannel> channel,String url) {
        this.title = title;
        this.type = type;
        this.selectImg = selectImg;
        this.normalImg = normalImg;
        if (null != channel) {
            this.channel = new ArrayList<>();
            this.channel.addAll(channel);
        }
        this.url = url;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public int getSelectImg() {
        return selectImg;
    }

    public void setSelectImg(int selectImg) {
        this.selectImg = selectImg;
    }

    public int getNormalImg() {
        return normalImg;
    }

    public void setNormalImg(int normalImg) {
        this.normalImg = normalImg;
    }


    public List<FChannel> getChannel() {
        return channel;
    }

    public void setChannel(List<FChannel> channel) {
        this.channel = channel;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }
}
